package com.sanmu.Test;

import com.sanmu.service.MemberServiceImpl;
import org.junit.Test;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @version 1.0
 * @Author xinnian
 * @Date 2024/9/14 11:24
 * @注释
 * @create: 2024-09-14 11:24
 */

public class DaoAndServiceSequenceTest {
@Test
    public void test(){
        ApplicationContext ioc = new ClassPathXmlApplicationContext("beans.xml");
        MemberServiceImpl memberService = ioc.getBean("memberService", MemberServiceImpl.class);
        System.out.println("memberService"+ memberService);


    }
}
